import service from "../utils/service";
import { GetApiUrl } from "@/utils/use-config";

const url = GetApiUrl('BasicsApi');

console.log(url, 'BasicsApi')
const Get = opt => {
	Object.assign(opt, { method: "get" });
	return service({
		...opt,
	});
};
const Post = opt => {
	Object.assign(opt, { method: "post" });
	return service({
		...opt,
	});
};

export default {
	Get,
	Post
};